import type { LoginResult } from '@/types/login'
import { http } from '@/utils/http'

/* 会员登录
小程序登录-内测版 */
export const loginWxMinSimpleAPI = (phoneNumber: string) => {
  return http<LoginResult>({
    url: '/login/wxMin/simple',
    method: 'POST',
    data: {
      phoneNumber,
    },
  })
}
